/*******************************************************************************
 * Copyright (c) 2006 CEA List.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     CEA List - initial API and implementation
 *******************************************************************************/
package com.cea.papyrus.core.ui.dialogs;

/**
 * @deprecated
 */
import org.eclipse.swt.widgets.Shell;

import com.cea.papyrus.core.utils.Debug;

/**
 * 
 */
public class InputStringProfileDialog extends InputStringDialog{
	
	

	 
	/**
	 * 
	 */
	protected int channel=19;
	
	/**
	 * 
	 */
	protected String value="defaultModel";
	
	/**
	 * 
	 * 
	 * @param parentShell 
	 */
	public InputStringProfileDialog(Shell parentShell){
		super(parentShell);
		announce="type a name fo the new profile:";
		Debug.debug(this,"InputStringProfileDialog", channel);
		
	}
	
	/**
	 * 
	 */
	@Override
	protected void okPressed(){
		Debug.debug(this,"InputStringProfileDialog.okPressed", channel);
		Debug.debug(this,"nameField.getText().trim():"+nameField, channel);
		//Manager.getRessourceManager().createModelRessource(nameField.getText().trim(),Profile.class);
		super.okPressed();
		
	}
	
}
